/*******************************************************************************
 * Copyright (c) 2012 Philip Douglas.
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
 * You can obtain one at http://mozilla.org/MPL/2.0/.
 ******************************************************************************/
package net.pdouglas.revisiondroid;

import net.pdouglas.revisiondroid.TimerListener;
import net.pdouglas.revisiondroid.TimerState;

interface TimerApi {
	TimerState getTimerState();
    int getMode();
    void setMode(int mode);
    float getRatio();
    void setRatio(float ratio);
    void setZeroRelaxAlarmPref(boolean state);

    void addListener(in TimerListener listener);
    void removeListener(in TimerListener listener);

    void stop();
    void reset();
}
